const { ccclass, property } = cc._decorator;

@ccclass
export default class WithDrawOption extends cc.Component {
    @property(cc.Node)
    WithDrawOption = null;

    @property(cc.Node)
    commonBg = null;

    @property(cc.Node)
    selectBg = null;

    @property(cc.Node)
    withDrawTips = null;

    @property(cc.Node)
    txDes = null;

    @property(cc.Node)
    condition = null;

    @property(cc.Node)
    blueBg = null;

    @property(cc.Node)
    redBg = null;

    @property(cc.Node)
    conditionLabel = null;

    static URL = "db://assets/resources/prefabs/WithDrawOption.prefab";

    onLoad() {
        this.WithDrawOption = this.node;
        this.commonBg = this.WithDrawOption.getChildByName("commonBg");
        this.selectBg = this.WithDrawOption.getChildByName("selectBg");
        this.withDrawTips = this.WithDrawOption.getChildByName("withDrawTips");
        this.txDes = this.WithDrawOption.getChildByName("txDes");
        this.condition = this.WithDrawOption.getChildByName("condition");
        this.blueBg = this.condition.getChildByName("blueBg");
        this.redBg = this.condition.getChildByName("redBg");
        this.conditionLabel = this.condition.getChildByName("conditionLabel");
    }
}
